import 'package:json_annotation/json_annotation.dart';
part 'cookstep_list_model.g.dart';

/// 做饭步骤model
@JsonSerializable()
class CookStepListModel {
  /// 文字描述
  String? content;

  /// 图片描述
  String? image;

  /// 图片高度
  int? image_height;

  /// 图片宽度
  int? image_width;

  /// position
  String? position;

  /// 图片
  String? thumb;
  CookStepListModel(this.content, this.image, this.image_height,
      this.image_width, this.position, this.thumb);

  factory CookStepListModel.fromJson(Map<String, dynamic> json) =>
      _$CookStepListModelFromJson(json);
  Map<String, dynamic> toJson() => _$CookStepListModelToJson(this);
}
